/*
 Authors: ZhangXuelian
 	
 
 Changes:
 	
	
*/

#ifndef _COE_LIB_CMD_H_
#define _COE_LIB_CMD_H_

#ifdef __cplusplus
extern "C"
{
#endif

extern THREAD_CONTEXT g_cmd_thread_context;
bool create_cmd_thread();
#define end_cmd_thread() end_thread(g_cmd_thread_context);
#define is_cmd_thread_quited() is_thread_quited(g_cmd_thread_context);
bool is_cmd_thread_alive();

#ifdef __cplusplus
}
#endif
#endif
